package cn.eud.hunau.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.time.LocalDateTime;

/**
 * @author hb
 * @date 2025-06-18 16:11:06
 */

public class User {
    private String id;
    private String username;
    @JsonIgnore
    private String password;
    private String pet_type;
    private Integer pet_age;
    private String pet_health;
    private LocalDateTime create_time;

    public LocalDateTime getCreate_time() {
        return create_time;
    }

    public void setCreate_time(LocalDateTime create_time) {
        this.create_time = create_time;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPet_type() {
        return pet_type;
    }

    public void setPet_type(String pet_type) {
        this.pet_type = pet_type;
    }

    public String getPet_health() {
        return pet_health;
    }

    public void setPet_health(String pet_health) {
        this.pet_health = pet_health;
    }

    public Integer getPet_age() {
        return pet_age;
    }

    public void setPet_age(Integer pet_age) {
        this.pet_age = pet_age;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", pet_type='" + pet_type + '\'' +
                ", pet_age=" + pet_age +
                ", pet_health='" + pet_health + '\'' +
                ", create_time=" + create_time +
                '}';
    }
}
